// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueWechatTitle from 'vue-wechat-title'
import Mint from 'mint-ui'
Vue.use(Mint)
Vue.use(VueWechatTitle)
    // 加载外部js、css
import "./assets/css/base.css"
import "./assets/css/common.css"
import "./assets/css/popup.css"
import "./assets/js/dsbridge.js"
import "./assets/js/flexible.min.js"
import "./assets/js/common"
import 'mint-ui/lib/style.css'

import https from './assets/js/https'
Vue.prototype.https = https // 1、在这里引入axios
    // 处理移动端click事件300毫秒延迟:
import FastClick from 'fastclick'
if ('addEventListener' in document) {
    document.addEventListener('DOMContentLoaded', function() {
        FastClick.attach(document.body);
    }, false);
}

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    components: { App },
    template: '<App/>'
})